<div [ngClass]="getClasses()" [class.show]="show" style="position: absolute;top: 5%;">
    <span class="message-text">{{ text }}</span>
</div>